﻿<%--<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Stats.aspx.cs" Inherits="ClientTools.Server.Controls.Stats" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register TagPrefix="cc1" Namespace="umbraco.uicontrols" Assembly="controls" %>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Stats</title>
    <style type="text/css">
    <!--
body
{
	font-family: Arial, Verdana, Comic Sans MS;
	font-size: 11px;
	text-align: left;
}
input, select
{
    font-family: Arial, Verdana, Comic Sans MS;
	font-size: 11px;
}
h1 
{
    font-family: Arial, Verdana, Comic Sans MS;
	font-size: 14px;
	font-weight: bold;
	text-align: left;
}
h2 
{
    font-family: Arial, Verdana, Comic Sans MS;
	font-size: 12px;
	font-weight: bold;
	text-align: left;
}
div 
{
	text-align: left;
}
div.boxbody 
{
    padding: 10px;
}
    -->
    </style>
    <link href="/umbraco_client/panel/style.css" rel="stylesheet" />
</head>
<body onload="resizePanel('Panel1',true);" onresize="resizePanel('Panel1',true);">
    <h1>
        ClientTools - Stats</h1>
<cc1:UmbracoPanel id="Panel1" runat="server" Width="608px" Height="336px" hasMenu="false" style="TEXT-ALIGN:center" text="Log viewer">
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <div id="ClientTools_Stats">
                    <p>There are <asp:Label id="lblSessions" runat="server" Text="0"></asp:Label> sessions with <asp:Label id="lblEntries" runat="server" Text="0"></asp:Label> entries in the database...</p>
                    <hr />
                    <h2>Clear stats by date:</h2>
                    <p>Please select the date you want to cut off old stats:</p>
                    <asp:Calendar ID="Calendar1" runat="server" BackColor="White" BorderColor="#999999"
                        CellPadding="4" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt"
                        ForeColor="Black" Height="180px" Width="200px">
                        <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
                        <SelectorStyle BackColor="#CCCCCC" />
                        <WeekendDayStyle BackColor="#FFFFCC" />
                        <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
                        <OtherMonthDayStyle ForeColor="#808080" />
                        <NextPrevStyle VerticalAlign="Bottom" />
                        <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" />
                        <TitleStyle BackColor="#999999" BorderColor="Black" Font-Bold="True" />
                    </asp:Calendar>
                    <br />
                    <asp:Button ID="cmdDeleteStats" runat="server" Text="Delete stats by date" OnClick="cmdDeleteStats_Click"/>
                    <br />
                    <asp:Label ID="lblMessage" runat="server" ForeColor="red">
                    </asp:Label>
                    <hr />
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
    </form>
</cc1:UmbracoPanel>

</body>
</html>
--%>